package com.jxk.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @ClassName : PaymentFallbackService  //类名
 * @Description :   //描述
 * @Author : jxk  //作者
 * @Date: 2020-09-06 12:21  //时间
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_OK , (┬＿┬)";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_TimeOut , (┬＿┬)";
    }
}

